package com.tongbaninfo.interfaces.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhanNaifeng
 * @Date: 2023-07-31  18:25
 */

@RestController
@Api(tags = "少儿基金一网通办服务接口")
@RequestMapping(value = "http://183.194.243.82/clientgateway/")
public class ChildrenFundController {

    @GetMapping("/1")
    @ApiOperation(value = "少儿基金一网通办服务接口，注意，真实请求地址都是http://183.194.243.82/clientgateway/")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "appid",
                    value = "appid",
                    required = true,
                    paramType = "header",
                    dataType = "String",
                    example = "cdbf5850-c985-464d-8d4b-741ab2ea2d79"),
            @ApiImplicitParam(name = "appkey",
                    value = "appkey",
                    required = true,
                    paramType = "header",
                    dataType = "String",
                    example = "11c06a19-8ce3-4687-a061-52546abab627"),
            @ApiImplicitParam(name = "apiname",
                    value = "apiname",
                    required = true,
                    paramType = "header",
                    dataType = "String",
                    example = "a66b5db0-29f3-11ee-a4e6-037215ea5453"),
    })
    public void find(){

    }


    @GetMapping("/2")
    @ApiOperation(value = "测试demo1")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "appid",
                    value = "appid",
                    required = true,
                    paramType = "header",
                    dataType = "String",
                    example = "cdbf5850-c985-464d-8d4b-741ab2ea2d79"),
            @ApiImplicitParam(name = "appkey",
                    value = "appkey",
                    required = true,
                    paramType = "header",
                    dataType = "String",
                    example = "11c06a19-8ce3-4687-a061-52546abab627"),
            @ApiImplicitParam(name = "apiname",
                    value = "apiname",
                    required = true,
                    paramType = "header",
                    dataType = "String",
                    example = "a66b5db0-29f3-11ee-a4e6-037215ea5453"),
    })
    public void find2(){

    }
}
